/*
 * Copyright (c) 2023 Huawei Device Co., Ltd.
 * Licensed under the Apache License,Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

//用户信息
export class ProfileModel {
    userId: string
    userType: number
    nickname: string
    avatarUrl: string
    backgroundUrl: string
    vipType: number

    constructor() {
    }
}

export class UserAccountModel {
    code: number
    profile: ProfileModel

    constructor() {
    }
}


//用户等级

export class UserLevelModel {
    code: number
    level: number

    constructor() {
    }
}
//用户关注信息
export class FollowModel {
    nickname: string
    followeds: number
    avatarUrl: string

    constructor() {
    }
}

export class UserAttentionModel {
    code: number
    follow: FollowModel[]

    constructor() {
    }
}

//用户粉丝信息
export class FollowedsModel {
    nickname: string
    avatarUrl: string

    constructor() {
    }
}

export class FanInfoModel {
    code: number
    followeds: FollowedsModel
    size: number

    constructor() {
    }
}

//获取用户喜欢、创建、收藏歌单
export class CreatorModel {
    avatarUrl: string
    nickname: string

    constructor() {
    }
}

export class PlaylistModel {
    name: string
    coverImgUrl: string
    trackCount: number
    id:number
    creator: CreatorModel

    constructor() {
    }
}

export class UserPlaylistModel {
    code: number
    playlist: PlaylistModel[]

    constructor() {
    }
}